package com.fans.springaop.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.fans.springaop.dao.UserDao;
import com.fans.springaop.entity.User;
import com.fans.springaop.service.UserService;

@Service
public class UserServiceImpl implements UserService {
	@Resource
	private UserDao userDao;

	@Override
	public User getUserById(String id) {
		return userDao.getUserById("1");
	}

}
